<!DOCTYPE html>
<html>
    <head>
        <style type="text/css">
            .fr {
                float: right;
            }
            .green {
                background-color: green;
            }
            .fixed {
                width: 100px;
                height: 100px;
            }
            body {
                margin: 0;
            }
        </style>
    </head>
    <body>
        <div class="fr green fixed"></div>
        <div class="fr fixed"></div>
        <div class="fr green fixed"></div>
    </body>
</html>
